projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8640f
)
container: Don't use to-be-deprecated API
author
Benjamin Otte
<otte@redhat.com>
Thu, 30 May 2013 18:02:05 +0000
(20:02 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 30 May 2013 18:02:05 +0000
(20:02 +0200)
Instead, do what that API does manually.
gtk/gtkcontainer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcontainer.c
b/gtk/gtkcontainer.c
index 49bd0930992268f454b62cf8b6271e2cd517785e..a30420d5327080d7877f0a4d1b582e6c402a9b75 100644
(file)
--- a/
gtk/gtkcontainer.c
+++ b/
gtk/gtkcontainer.c
@@
-1870,7
+1870,8
@@
gtk_container_real_check_resize (GtkContainer *container)
}
else
{
- gtk_container_resize_children (container);
+ gtk_widget_size_allocate (widget, &allocation);
+ gtk_widget_set_allocation (widget, &allocation);
}
}